package com.aidex.biz.messageSend;

import com.aidex.biz.domain.JinjianInfo;
import com.aidex.biz.domain.MessageInfo;
import com.aidex.common.core.domain.entity.SysUser;

import java.math.BigDecimal;
import java.util.List;

public interface MessageSendService {

    /**
     * 发送消息
     *
     * @param messageInfo
     */
    public void sendMessageWxWork(MessageInfo messageInfo);

    /**
     * 给总公司发送成交喜报并艾特某个人
     *
     * @param sysUser
     * @param jinjianInfo
     */

    public void sendDealGoodNewsToRootCompany(SysUser sysUser, JinjianInfo jinjianInfo);

    /**
     * 推送短信
     *
     * @param messageInfo
     */
    public void sendShortMessage(MessageInfo messageInfo);

    public void sendMessageWxWorkToUserBatch(List<MessageInfo> messageInfoList);

    /**
     * 给企微个人发送信息
     *
     * @param phones
     * @param content
     * @return
     */
    public boolean sendTextMessageByUser(String[] phones, String content);

    public void sendMessageWxWorkToGroup(String robotAddress, String content, SysUser sysUser);

    /**
     * 进件消息提醒
     *
     * @param sysUser
     * @param dictValue
     * @param params
     */
    public void sendJinjianVxNewsToCompany(SysUser sysUser, String dictValue, String[] params);
}
